package javaer.starter.idea.action;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.project.Project;

public class JavaFileAction extends AnAction {

    public void actionPerformed(AnActionEvent e) {
        Project project = e.getRequiredData(CommonDataKeys.PROJECT);
        SettingsDialog settingsDialog = new SettingsDialog(project, e);
        settingsDialog.show();
    }
}
